﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ValidationEngine.Commons;

namespace ValidationEngineXTest.UI
{
    public partial class TestView : Form, ITestView
    {
        public TestView()
        {
            InitializeComponent();
        }

        public BindingSource Source
        {
            get { return productBS; }
        }

        public string ParentSourceMember
        {
            get
            {
                return null;
            }
            set
            {
            }
        }

        public event Action OnSave;

        private void btnSave_Click(object sender, EventArgs e)
        {
            if (null != OnSave)
            {
                OnSave();
            }
        }
    }
}
